package com.hiv.common.response;

import com.hiv.mapper.domain.Permission;
import com.hiv.mapper.domain.Role;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("角色-权限")
public class RolePermissionVO implements Serializable {
  @ApiModelProperty("角色")
  private Role role;
  @ApiModelProperty("权限列表")
  private List<Permission> permissions;
}
